export default function useTheme(callback: () => void) {
  const designStore = useDesignStore()

  watch(() => designStore.isDark, async () => {
    await nextTick()
    callback()
  })
  return {
    isDark: computed(() => designStore.isDark),
  }
}
